package com.markyao.service;

import com.markyao.vo.PageParams;
import com.markyao.vo.RegistryBean;
import com.markyao.vo.pojo.AppBean;
import com.markyao.vo.pojo.ServiceBean;

import java.util.List;

public interface ViewService {
    String aliveValue="HEALTHY";
    String sickValue="SICK";
    String deadValue="DEAD";
    List<AppBean> getList(PageParams pageParams);

    List<ServiceBean> getServices(PageParams pageParams);

    RegistryBean getRegistryBean(String appName);

    void closeConnect(String curApp, String tarApp);

    void reConnect(String curApp, String tarApp);
}
